#ifndef POPUPMENU_H
#define POPUPMENU_H

#include "button.h"
#include "keycontrollablemenu.h"

class PopupMenu : public KeyControllableMenu
{
    Q_OBJECT
public:
    PopupMenu(QWidget * parent=0);
    void addButton(Button * button);
    void addButtons(QList<Button *> * buttons);
public slots:
    void buttonSelected();
signals:
    void selected(Button * button);

private:
    QVBoxLayout * mainLayout;
};

#endif // POPUPMENU_H
